<?php 
      echo $this->Html->css("chosen");
      echo $this->Html->css("dataTables");
      echo $this->Html->css("validationEngine.jquery");
 ?>
<script type="text/javascript" src="<?php echo $this->webroot; ?>js/dataTables.min.js"></script>
<script type="text/javascript" src="<?php echo $this->webroot; ?>js/customInput.jquery.js"></script>
<script type="text/javascript" src="<?php echo $this->webroot; ?>js/chosen.js"></script>
<script type="text/javascript" src="<?php echo $this->webroot; ?>js/zice.custom1.js"></script>
<script type="text/javascript" src="<?php echo $this->webroot; ?>js/ColVis.js"></script>
<script type="text/javascript" src="<?php echo $this->webroot; ?>js/accounting.js"></script>
<script type="text/javascript" src="<?php echo $this->webroot; ?>js/layout_table.js"></script>
<script type="text/javascript" src="<?php echo $this->webroot; ?>js/manager_transfer_invoice.js"></script>
<script type="text/javascript" src="<?php echo $this->webroot; ?>js/jquery.validationEngine.js"></script>
<script type="text/javascript" src="<?php echo $this->webroot; ?>js/jquery.validationEngine-vi.js"></script>
<script type="text/javascript" src="<?php echo $this->webroot; ?>js/jquery.autotab.js"></script>

<div class="titlePage">
<h1>Quản lý kho sỉ - Chuyển hàng</h1>
</div>

<div class="onecolumn vendor">
	<div class="header">
		<span><span class="ico gray spreadsheet"></span>Hàng hóa trong kho</span>
	</div>
	<div class=" clear"></div>
	<div class="content">
			<form> 
				<div class="tableName" id="listProductTransfer">
				<table class="display data_table2 listProductTransfer" >
					<thead>
						<tr>
							<th><div class="th_wrapp">Tên hàng</div></th>
							<th><div class="th_wrapp">Giá bán</div></th>
							<th><div class="th_wrapp">Số lượng</div></th> 
						</tr>
					</thead>
					<tbody>
					<?php 
						foreach ($list_product as $item) {
					?>
							<tr class="odd gradeX productTr" id="<?php  echo $item['p']['id']; ?>" name="<?php  echo $item['p']['id']; ?>">
		      					<td><?php  echo $item['p']['name']; ?></td>
		      					<td class="priceProduct formatMoney"><?php  echo $item['p']['price_wholesale'];?></td>
		      					<td class="quantityProduct"><?php  echo $item['p']['quantity_wholesale'];?></td>
		      					</tr><?php }?>
	     					
					</tbody>
				</table>
	            </div>
			</form>
	</div>
</div>
<div class="onecolumn product">
	<div class="header">
		<span><span class="ico gray paragraph_justify"></span>Hàng hóa chuyển</span>
	</div>
	<div class=" clear"></div>
	<div class="content">
	<form id="validation">
		<div class="section listP nameListPTr">
			<label>
			Tên sản phẩm:
			</label>
		</div>
		<div class="section listP countListPTr">
			<label>
			Số lượng:
			</label>
		</div>
		<div id="list_product">
		<div id="result_choose_product_transfer"></div>
		</div>
		<div class="buttonNewListProductTransfer">
					<a class="uibutton" id='create_transfer_invoice'><span class="ico gray checkmark2"></span>Chuyển hàng</a>
					<div id='alert_mes'></div>
				</div>
	</form>
	</div>
</div>